<div
    bsModal
    #createOrEditModal="bs-modal"
    class="modal fade"
    tabindex="-1"
    role="dialog"
    aria-hidden="true"
    [config]="{ backdrop: 'static' }"
>
    <div class="modal-dialog modal-xxl">
        <div class="modal-content">
            <form *ngIf="active" #editForm="ngForm" novalidate (ngSubmit)="save()" autocomplete="off">
                <div class="modal-header">
                    <h4 class="modal-title"  *ngIf="_type!='工具'">
                       基础字段
                      
                    </h4>
                    <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <dto-extend-edit
                        [attrs]="extensions"
                        [optionAll]="optionAll"
                        col="5"
                        [(dto)]="editDto"
                    ></dto-extend-edit>
                </div>
                <div class="modal-header"  *ngIf="_type!='工具'">
                        <h4 class="modal-title">
                          {{_type}}专用字段
                          
                        </h4>
            
                    </div>
                    <div class="modal-body">
                        <dto-extend-edit
                            [attrs]="extendextensions"
                            [optionAll]="optionAll"
                            col="5"
                            [(dto)]="editDto"
                        ></dto-extend-edit>
    
                    </div>

            </form>
        </div>
    </div>
</div>
